﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Teacher:Father,IOther
    {
        public Teacher(string name, string zhiwei) : base(name, zhiwei)
        {

        }

        public void programmer()
        {
            Console.WriteLine("我是{0}，我的职位是{1}", this.Name, this.Zhiwei);
        }

        public void t1()
        {
            Console.WriteLine("也是个作家");
        }

        public void teacher()

        {
            Console.WriteLine("同时也是一位运动员");


        }

        
    }
}
